<template>
  <div>
    111
  </div>
</template>

<script setup>
const xhr = new XMLHttpRequest()

xhr.open('GET', 'https://api.vvhan.com/api/joke')
xhr.send()
xhr.addEventListener('load',()=>{
  console.log(xhr.response)
})
xhr
</script>

<style lang="scss" scoped></style>